import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SNewBattleMyScore
    
    export  class SNewBattleMyScore extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SNewBattleMyScore();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.force);
            arg1.writeInt(this.killPlayer);
            arg1.writeInt(this.killBoss);
            arg1.writeInt(this.honor);
            arg1.writeInt(this.assist);
            arg1.writeInt(this.continuityKill);
            arg1.writeInt(this.instantKill);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.force = arg1.readInt();
            this.killPlayer = arg1.readInt();
            this.killBoss = arg1.readInt();
            this.honor = arg1.readInt();
            this.assist = arg1.readInt();
            this.continuityKill = arg1.readInt();
            this.instantKill = arg1.readInt();
            return;
        }

        public /* const */_type: int=251;

        public /* var */force: int;

        public /* var */killPlayer: int;

        public /* var */killBoss: int;

        public /* var */honor: int;

        public /* var */assist: int;

        public /* var */continuityKill: int;

        public /* var */instantKill: int;

        public static /* var */_regist: SNewBattleMyScore;
    }

            SNewBattleMyScore._regist = new SNewBattleMyScore(true);
        